
# from flask import Blueprint,  request, jsonify,render_template
# from ext import cache
# blueprint = Blueprint('/', __name__, url_prefix='/')

# @blueprint.route("/", methods=['GET', 'POST'])
# def index():

#     # 读取缓存中的值
#     value = cache.get('home')
#     print(value)
#     if value is None:
#         # 如果缓存中不存在该值，则从数据库中读取并写入缓存
#         value = 'Hello, World!'
#         cache.set('home', value)
#     return value

            